home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2354 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: ifi.uio.no!usenet
  2. From: ludvigp@ifi.uio.no (Ludvig Pedersen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: TMapping again!
  5. Date: 30 Jan 1996 14:30:15 GMT
  6. Organization: Dept. of Informatics, University of Oslo, Norway
  7. Message-ID: <1019.6602T1224T1930@ifi.uio.no>
  8. References: <3105f2ed@gauss.demon.co.uk> <38232182@kone.fipnet.fi>
  9. NNTP-Posting-Host: gymir.ifi.uio.no
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12. >> Doesn't the thought of float multiplication replaced by add.l excite you
  13. >> ? Or a square root (for distance calculations perhaps) by asr.l #1,reg ??
  14. >Square roots usually can be eliminated totally, luckily.. ;)
  15. >I have come to the conclusion with the guy (Ludvid Petersen) who
  16. >wrote the original 3d rotation routine using a log table and
  17. >only adds and moves, that it is not that much faster. On the 68060
  18. >it is slower..
  19.  
  20. Nice spelling! Anyway I don't know how bad my names sound in finish. ;)
  21.  
  22. My friend Patrick Hanevold wrote a fast log routine (without any Zero
  23. or Negative test) which I think was released in this news group some time
  24. ago!?
  25.  
  26. It was a little faster than my 9 muls.l version on a 030/50mhz and a little
  27. slower on a 040/25mhz.
  28.  
  29. It was the memory lookups and the log/anti-log convertion that slowed things
  30. down.
  31.  
  32. Also the large lookup-table and 16-bit limit are arguments againt the log-
  33. algo's.
  34.  
  35.  
  36.  
  37.  
  38. <sb>Ludde - Amiga Demo Coder
  39. <sb>Virtual Reality & Official Be developer
  40. <sb>ludvigp@ifi.uio.no
  41.  
  42.